class Item < ActiveRecord::Base
  validates_presence_of :name
  belongs_to :brand
  has_many :purchases
  has_many :receipts, :through => :purchases
end
